<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:jsf="http://xmlns.jcp.org/jsf"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:pa="http://java.sun.com/jsf/passthrough">


    <head jsf:id="ssss">
        <title>Eventos CJava</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <f:facet name="first">
            <script src="#{request.contextPath}/resources/js/utilitary.min.js"></script>
        </f:facet>
        <script>
            removejscssfile('primefaces.css', 'css');
            removejscssfile('theme.css', 'css');
        </script>
        <link rel="Shortcut Icon" 
              href="#{request.contextPath}/resources/images/world.png" type="image/x-icon" />
        <link href="#{request.contextPath}/resources/thim/css/bootstrap.css" rel="stylesheet" media="screen" />
        <link href="#{request.contextPath}/resources/thim/css/thin-admin.css" rel="stylesheet" media="screen" />
        <link href="#{request.contextPath}/resources/thim/css/font-awesome.css" rel="stylesheet" media="screen" />
        <link href="#{request.contextPath}/resources/thim/style/style.css" rel="stylesheet" />
        
        <h:outputStylesheet library="thim" name="css/message.css" />

    </head>

    <body jsf:id="bodyz">

        <p:growl autoUpdate="true" />
        <p:panel  id="globalContent">
            <ui:include src="#{navigatorClientBean.navigationContent}" />
        </p:panel>
        <!-- se activa si existe evento ajax -->
        <ui:insert name="status">
            <p:ajaxStatus
                style="width:64px;height:64px;position:fixed;right:5px;bottom:5px">
                <f:facet name="start">
                    <p:graphicImage value="/resources/images/loading.gif" />
                </f:facet>

                <f:facet name="complete">
                    <h:outputText value="" />
                </f:facet>
            </p:ajaxStatus>
        </ui:insert>
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> 
        <!--script src="#{request.contextPath}/resources/thim/js/jquery.js"></script--> 
        <script src="#{request.contextPath}/resources/thim/js/bootstrap.min.js"></script> 

    </body>
</html>
